package com.xnyzc.lhy.didi.tongcheng.entity.param.order;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @Auther: lihao
 * @Date: 2020/7/5 16:48
 * @Description: 同城推单入参
 */
@Data
@ApiModel("订单入参")
public class TcCreateOrderParam implements Serializable {
    private static final long serialVersionUID = -5380421343175887368L;

    @ApiModelProperty(value = "签名", required = true)
    private String sign;
    @ApiModelProperty(value = "接入渠道 id，由同程分配", required = true)
    private String clientId;
    @ApiModelProperty(value = "请求时间，Unix Timestamp 单位秒", required = true)
    private Integer timestamp;
    @ApiModelProperty(value = "同程订单 ID", required = true)
    private String order_id;
    @ApiModelProperty(value = "出发地经度", required = true)
    private Double slon;
    @ApiModelProperty(value = "出发地纬度", required = true)
    private Double slat;
    @ApiModelProperty(value = "出发地名称", required = true)
    private String sname;
    @ApiModelProperty(value = "出发地详细地址", required = true)
    private String saddress;
    @ApiModelProperty(value = "目的地经度", required = true)
    private Double dlon;
    @ApiModelProperty(value = "目的地纬度", required = true)
    private Double dlat;
    @ApiModelProperty(value = "目的地名称", required = true)
    private String dname;
    @ApiModelProperty(value = "目的地详细地址", required = true)
    private String daddress;
    @ApiModelProperty(value = "服务类型（1：立即叫车\n" +
            "2：预约叫车\n" +
            "3：接机\n" +
            "4：送机\n" +
            "5：接站\n" +
            "6：送站）", required = true)
    private Integer service_id;
    @ApiModelProperty(value = "预估价格和一口价标识", required = true)
    private String estimate_id;
    @ApiModelProperty(value = "乘客手机号，下单人就是乘坐人", required = true)
    private String passenger_mobile;
    @ApiModelProperty(value = "乘客姓名（50 字符以内）", required = true)
    private String passenger_name;
    @ApiModelProperty(value = "乘客手机号国 家代码，默认 为+86")
    private String passenger_country_code;
    @ApiModelProperty(value = "运力类型（express 经济型/compact 舒适型/premium 商务型/luxury 豪华型）", required = true)
    private String ride_type;
    @ApiModelProperty(value = "城市code，默认为出发地所在城市")
    private String city_code;
    @ApiModelProperty(value = "出发时间，Unix timestamp，单位 秒（S），默认为当前时")
    private Long departure_time;
    @ApiModelProperty(value = "给司机留言的内容，留言内容通过    base64 编码以后不超过 92 字符（约 69 字短信）")
    private String driver_message;
    @ApiModelProperty(value = "航班号，接机单必填", required = true)
    private String flight_no;
    @ApiModelProperty(value = "航班起飞日期，格式 yyyy-MM-dd，接机单必填")
    private String flight_date;
    @ApiModelProperty(value = "航班到达后,延时 [10(含) 至90(含)]分钟后用车")
    private Integer flight_delay_time;
    @ApiModelProperty(value = "用车模式（0 一口价 1 预估价）", required = true)
    private String charge_type;
}
